<?php
defined('IN_TS') or die('Access Denied.');

//秀店内所有的宝贝

$talkid = intval($_GET['talkid']);

$strGroup = $new['talk']->getOneGroup($talkid);

$title = $strGroup['talkname'];

/*
 *获取秀店全部内容列表
 */
 
$page = isset($_GET['page']) ? intval($_GET['page']) : 1;

//URL
if($TS_APP['options']['isrewrite']=='0'){
	$url = $TS_URL['talk_topic'].$talkid.'&page=';
}else{
	$url = $TS_URL['talk_topic'].$talkid.'-';
}


$arrGroupContent = $new['talk']->getGroupContent($page,20,$talkid);

$talkContentNum = $new['talk']->getGroupContentNum('talkid',$talkid);

$pageUrl = pagination($talkContentNum, 20, $page, $url,$TS_URL['suffix']);

if($page > '1'){
	$titlepage = " - 第".$page."页";
}else{
	$titlepage='';
}

$title =$title.'秀店所有的话题'.$titlepage;

include template("talk_topic");